
typedef Leaf = {
    var parent:Tree;
}
typedef Tree = {>Leaf
    var childs:Array<Leaf>;
}